


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <meta http-equiv="Cache-Control" content="max-age=100,private"/> -->
    <!-- <meta http-equiv="X-UA-Compatible" content="ie=edge"> -->
    <link rel="stylesheet" href="reset.css">
    <title>Document</title>
</head>
<body>

    我是页面

    <div></div>
    

    <script src="jquery.min.js"></script>
    
	<script type="text/javascript">

        $.ajax({
            type:"POST",
            url:"http://127.0.0.1:9998/a",
            data:JSON.stringify({name:"hoho" }),
            contentType:"application/json",
            headers:{
                //"Accept":'text/html',
                //"Expires":'100',
                //"Cache-Control":"max-age=100,only-if-cached,private"
            },
            success:function(res,a,b){
            
                console.log("res--->",res,"\n\nresHeaders------>\n\n",b.getAllResponseHeaders())

                $("div").append(b.getAllResponseHeaders())
            
            }
        })

        $.ajax({
            type:"GET",
            url:"http://127.0.0.1:9998/cache",
           //  headers:{
            // //     "Accept":'text/html',
            //     "Expires":'100',
            //     "Cache-Control":"max-age=100,private"
           //  }
        })

        $.ajax({
            type:"GET",
            url:"http://127.0.0.1:9998/data.json",
           // headers:{
             //   "Accept":'text/html',
               // "Expires":'100',
                //"Cache-Control":"max-age=100,private"
           // }
        })

        $.ajax({
            type:"GET",
            url:"http://127.0.0.1:9998/reset.css"
        })

    </script>
    <!-- Fri, 10 Aug 2018 01:21:22 GMT -->
</body>
</html>